package Computer;

import instructions.Instruction;
import java.util.ArrayList;

public class Program extends ArrayList<Instruction>{
	
	public Program(){
		super();		
	}	
	
	public String toString(){
		int i = 0;
		StringBuilder s = new StringBuilder();
		while(i< size()){
			s.append(i + " ");
			s.append(get(i));
			i++;
		}
		
		return s.toString();
	}
}
